package cn.edu.zut.cs.DAO;

import cn.edu.zut.cs.Model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.awt.print.Book;
import java.util.List;
@Mapper
public interface StudentDAO {
    int insertStudent(Student student);
    int updateStudent(Student student);
    int deleteStudent(int id);
    Student getStudentById(@Param("id") int id);
    List<Student> qureyAll();
}
